/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.wms.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

import java.util.Date;

/**
 * 冻结明细Entity
 * @author 李超辉
 * @version 2019-01-17
 */
public class Frozen extends DataEntity<Frozen> {
	
	private static final long serialVersionUID = 1L;
	private String location;		// 货位
	private String code;		// 物料编码
	private String name;		// 物料名称
	private String number;		// 冻结数量
	private String reson;		// 冻结原因
	private String person;		// 操作人
	private Date date;		// 操作时间
	private String hzdm;		// 货主代码
	private String pro;		// 项目
	
	public Frozen() {
		super();
	}

	public Frozen(String id){
		super(id);
	}

	@ExcelField(title="货位", align=2, sort=7)
	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	
	@ExcelField(title="物料编码", align=2, sort=8)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@ExcelField(title="物料名称", align=2, sort=9)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="冻结数量", align=2, sort=10)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@ExcelField(title="冻结原因", align=2, sort=11)
	public String getReson() {
		return reson;
	}

	public void setReson(String reson) {
		this.reson = reson;
	}
	
	@ExcelField(title="操作人", align=2, sort=12)
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="操作时间", align=2, sort=13)
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	@ExcelField(title="货主代码", align=2, sort=14)
	public String getHzdm() {
		return hzdm;
	}

	public void setHzdm(String hzdm) {
		this.hzdm = hzdm;
	}
	
	@ExcelField(title="项目", align=2, sort=15)
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}
	
}